package edu.software.PBL_Management_System.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/*
* 主要用于加载与阿里云对象存储服务OSS相关的配置属性
* */
@Component //spring自动扫描注册为Bean
@ConfigurationProperties(prefix = "pbl.alioss") //读取配置文件
@Data
public class AliOssProperties {

    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketName;

}
